import request from "@/utils/request";


const sampleLog = (data) =>{
    return request({
        url: '/core/Template/sampleLog',
        method: 'post',
        data: data
    })
}
const getVersionAnalysis = (standardTest) =>{
    return request({
        url: '/core/Template/getVersionAnalysis',
        method: 'post',
        data: {StandardTest:standardTest}
    })
}

/**
 *
 * @param workFlowId 静态工作流id
 * @param action 是动作关系id
 * @param note 是描述可为空
 * @return {*}
 */
const submitWorkFlow = (workFlowId, action, note)=>{
    return request({
        url: '/WorkflowTemplate/submitWorkFlow',
        method: 'post',
        data: {identity:workFlowId,action:action,note:note}
    })
}




export {
    sampleLog,
    getVersionAnalysis
}